<?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 
/**
* This is the Read-Only Basket Template. Its is included
* in the last Step of the Checkout. The difference to the
* normal Basket is: All Update/Delete buttons and the
* quantity Box are missing.
*
* @version $Id: ro_basket_b2c.html.php 1377 2008-04-19 17:54:45Z gregdev $
* @package VirtueMart
* @subpackage templates
* @copyright Copyright (C) 2004-2005 Soeren Eberhardt. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
*
* http://virtuemart.net
*/
?>
<div class="padr10">
                                        
                                            <div class="steps-bar">
                                                <ul>
                                                    <li>Indkøbskurv</li>
                                                    <li>Levering</li>
                                                    <li class="select">TIL BETALING</li>
                                                    <li class="last">Ordreoversigt</li>
                                                </ul>
                                            </div>
                                            
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="step1">
                                              <tr>
                                                <th colspan="5">Varer i kurven</th>
                                              </tr>
                                              <tr>
                                                <td class="antal title">ANTAL</td>
                                                <td class="name title">Produktnavn</td>
                                                <td class="none">&nbsp;</td>
                                                <td class="pris title">Pris, kr: </td>
                                                <!--<td align="center" class="name title">
                                                	<?php echo $VM_LANG->_('PHPSHOP_CART_SUBTOTAL') ?>
                                                </td>
                                              --></tr>
                                              <?php foreach( $product_rows as $product ) { ?>
                                              <tr>
                                                <td class="antal">
                                                	<?php echo $product['quantity'] ?>
                                                </td>
                                                <td class="name"><?php echo $product['product_name'] . $product['product_attributes'] ?></td>
                                                <td class="none">&nbsp;</td>
                                                <td class="pris"><?php echo $product['product_price'] ?></td>
                                                <!--<td class="name" align="center"><?php echo $product['subtotal'] ?></td>
                                              --></tr>
                                              <?php } ?>                                              
                                            </table>
                                            
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbl-total">
                                              <tr>
                                                <td width="495">                                                	 
                                                	<input type="checkbox" name="agree_temp" id="agree_temp"/>
                                                	<a data-reveal-id="myModal1" class="red udl">Jeg accepterer Handelsbetingelser</a>
                                                    <div id="myModal1" class="reveal-modal">
                                                        <?php
                                                        	jimport('mylibs.globalModel');
															$globalModel = new globalModel(); 
															$data = $globalModel->getArticle(1);
															echo $data['introtext'];
                                                        ?>            
                                                        <a class="close-reveal-modal">&#215;</a>
                                                    </div>
                            					</td>
                                                <td width="80">Subtotal:</td>
                                                <td width="160"><?php echo $subtotal_display ?></td>
                                              </tr>
                                              <tr>
                                              		<td>&nbsp;</td>
										            <td>Fragt:</td>
										            <td><?php echo $shipping_display; ?></td>
										        </tr>
										        <tr>
										        	<td>&nbsp;</td>
										            <td>Heraf moms:</td>
										            <td><?php echo $tax; ?></td>
										        </tr>
                                             	<tr>
	                                                <td>&nbsp;</td>
	                                                <td class="red font14">Total:</td>
	                                                <td class="red font14"><?php echo $order_total_display ?></td>
                                              	</tr>
                                            </table>

                                            <a href="javascript:history.back();" class="btn-back">Tilbage</a>
                                            <a href="#" onclick="submit_check();" name="formSubmit"  class="btn-levering float_right">TIL BETALING</a>
                                        
                                        </div>
                       
